//
//  Protocol.swift
//  Composite
//
//  Created by LY on 2017/10/26.
//  Copyright © 2017年 DesignPatterns. All rights reserved.
//

import Foundation
protocol carPart{
    var name :String{get}
    var price:Float{get}
}

